package com.cdie.myschool.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * @program:my-school
 * @ClassName:Papers
 * @Description:科研信息
 * @author:毛康源
 * @data:2022-10-09 10:38
 **/
@Data
public class Papers {
    //主键
    @TableId(value="id",type = IdType.AUTO)
    private Integer id;
    //论文编号
    private String papersId;
    //论文题目
    private String papersName;
    //教师工号
    private String teacherId;
    //学年学期id
    private Integer semesterId;
    //时间戳
    private Date timestamp;

    @Override
    public String toString() {
        return "Papers{" +
                "id=" + id +
                ", papersId='" + papersId + '\'' +
                ", papersName='" + papersName + '\'' +
                ", teacherId='" + teacherId + '\'' +
                ", semesterId=" + semesterId +
                ", timestamp=" + timestamp +
                '}';
    }
}
